﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200043D RID: 1085
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnhanceRogueBuffCsReq : IMessage<EnhanceRogueBuffCsReq>, IMessage, IEquatable<EnhanceRogueBuffCsReq>, IDeepCloneable<EnhanceRogueBuffCsReq>, IBufferMessage
	{
		// Token: 0x17000DFA RID: 3578
		// (get) Token: 0x060030CA RID: 12490 RVA: 0x00086838 File Offset: 0x00084A38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnhanceRogueBuffCsReq> Parser
		{
			get
			{
				return EnhanceRogueBuffCsReq._parser;
			}
		}

		// Token: 0x17000DFB RID: 3579
		// (get) Token: 0x060030CB RID: 12491 RVA: 0x0008683F File Offset: 0x00084A3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnhanceRogueBuffCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000DFC RID: 3580
		// (get) Token: 0x060030CC RID: 12492 RVA: 0x00086851 File Offset: 0x00084A51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnhanceRogueBuffCsReq.Descriptor;
			}
		}

		// Token: 0x060030CD RID: 12493 RVA: 0x00086858 File Offset: 0x00084A58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnhanceRogueBuffCsReq()
		{
		}

		// Token: 0x060030CE RID: 12494 RVA: 0x00086860 File Offset: 0x00084A60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnhanceRogueBuffCsReq(EnhanceRogueBuffCsReq other) : this()
		{
			this.mazeBuffId_ = other.mazeBuffId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060030CF RID: 12495 RVA: 0x00086885 File Offset: 0x00084A85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnhanceRogueBuffCsReq Clone()
		{
			return new EnhanceRogueBuffCsReq(this);
		}

		// Token: 0x17000DFD RID: 3581
		// (get) Token: 0x060030D0 RID: 12496 RVA: 0x0008688D File Offset: 0x00084A8D
		// (set) Token: 0x060030D1 RID: 12497 RVA: 0x00086895 File Offset: 0x00084A95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MazeBuffId
		{
			get
			{
				return this.mazeBuffId_;
			}
			set
			{
				this.mazeBuffId_ = value;
			}
		}

		// Token: 0x060030D2 RID: 12498 RVA: 0x0008689E File Offset: 0x00084A9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnhanceRogueBuffCsReq);
		}

		// Token: 0x060030D3 RID: 12499 RVA: 0x000868AC File Offset: 0x00084AAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnhanceRogueBuffCsReq other)
		{
			return other != null && (other == this || (this.MazeBuffId == other.MazeBuffId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060030D4 RID: 12500 RVA: 0x000868DC File Offset: 0x00084ADC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MazeBuffId != 0U)
			{
				num ^= this.MazeBuffId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060030D5 RID: 12501 RVA: 0x0008691B File Offset: 0x00084B1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060030D6 RID: 12502 RVA: 0x00086923 File Offset: 0x00084B23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060030D7 RID: 12503 RVA: 0x0008692C File Offset: 0x00084B2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MazeBuffId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.MazeBuffId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060030D8 RID: 12504 RVA: 0x00086960 File Offset: 0x00084B60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MazeBuffId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MazeBuffId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060030D9 RID: 12505 RVA: 0x0008699E File Offset: 0x00084B9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnhanceRogueBuffCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MazeBuffId != 0U)
			{
				this.MazeBuffId = other.MazeBuffId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060030DA RID: 12506 RVA: 0x000869CF File Offset: 0x00084BCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060030DB RID: 12507 RVA: 0x000869D8 File Offset: 0x00084BD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MazeBuffId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400133C RID: 4924
		private static readonly MessageParser<EnhanceRogueBuffCsReq> _parser = new MessageParser<EnhanceRogueBuffCsReq>(() => new EnhanceRogueBuffCsReq());

		// Token: 0x0400133D RID: 4925
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400133E RID: 4926
		public const int MazeBuffIdFieldNumber = 10;

		// Token: 0x0400133F RID: 4927
		private uint mazeBuffId_;
	}
}
